﻿
using Microsoft.AspNetCore.Mvc;
using Services.IServices;

namespace Base.Web.Api.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class testController : BaseController
    {
        private readonly ITestServices _testService;

        public testController(ITestServices testService)
        {
            _testService = testService;
        }


        [HttpGet("GetTest")]
        public async Task<IActionResult> GetTest()
        {
            var res = _testService.GetTest();
            return Ok(res);
        }
    }
}
